package com.java.hotpotserver.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.java.hotpotserver.entity.Announcement;
import com.java.hotpotserver.form.AnnouncementForm;

import java.util.List;

public interface IAnnouncementService extends IService<Announcement> {

    List<Announcement> historyAnnouncement(int type);

    int callWaiter(int tableid);

    IPage<Announcement> pagedHistoryAnnouncement(int pagenum,int pagesize,int type);

    List<Announcement> allHistoryAnnouncement();

    int deleteById(int announcementid);

    int addAnnouncement(AnnouncementForm announcementForm);

}
